Follow this overview to familiarize yourself with the basics of embedding documentation within your script files and separate 'doc' files.
When embedding in script files, you will need to nest your documentation within code blocks (see Documentation In Scripts ). Docular will also parse out documentation in a separate ".doc" file where documentation is not nested within code blcoks. This is great for creating 'overview' pages (see Documentation In 'Doc' Files ).